home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Metrowerks CodeWarrior / CodeWarrior Pro 4 Release Notes / Java Notes / Metrowerks Java Release Notes < prev    next >
Encoding:
Text File  |  1998-09-01  |  10.5 KB  |  279 lines  |  [TEXT/CWIE]

  1. ========================================================================
  2. Metrowerks Java Release Notes 
  3. ========================================================================
  4.  
  5. Version: 1.5
  6. Date:    9-1-98
  7. Author:  Greg Bolsinga, Michael C. Stricklin, Scott Kovatch, Marcus
  8.             Jager
  9. ========================================================================
  10.  
  11. Metrowerks Java is an application that hosts Java Virtual Machines on 
  12. the Macintosh. It supports Apple's MRJ and Metrowerks' JVM.
  13.  
  14.  
  15. ========================================================================
  16. Released Versions
  17. ========================================================================
  18.  
  19. 1.5                            CWPro4
  20. 1.2.1                        CWPro3
  21. 1.2                            CWPro2
  22. 1.0.7                        CWPro1
  23. 1.0.3                        CW11
  24. 1.0.2                        CW10
  25. 1.0.1                        CW9
  26.  
  27.  
  28. ========================================================================
  29. New Features since CWPro3
  30. ========================================================================
  31.  
  32. * Apple MRJ 2.0 is now better supported, since Metrowerks Java now uses
  33.   JManager 2.0. (For example: windows won't be shoved in the corner,
  34.   moving windows works, zooming windows works. Command line args are
  35.   used.)
  36.   
  37. * Reworked the Preferences Dialog Box. It's all on one window, and it
  38.   reflects what is available for each JVM better.
  39.   
  40. * Add preference for what happens when System.exit() is called in MRJ.
  41.   It will either quit MW Java or simply stop.
  42.   
  43. * Add preference for what happens when System.exit() is called in the
  44.   MW JVM. By default, MW JVM will no longer throw a SecurityException.
  45.   See 'Known Bugs and Incompatibilities' more more important
  46.   information.
  47.   
  48. * The MacOS version number of the JVMs used by MW Java is shown in the
  49.   about box. This makes support easier for MW Java.
  50.  
  51.     
  52. ========================================================================
  53. Bugs Fixed since CWPro3
  54. ========================================================================
  55.  
  56. * Fix a little leak when running applications. (Since 1.5b7)
  57.  
  58. 1.5b7:
  59.  
  60. * Fix a bug when searching for the MRJ Code Fragment. It now uses CFM
  61.   always. Clean up some MRJ callbacks.
  62.  
  63. * Fix a bug that would manifest itself in crashes when running Swing
  64.   when a JMenu that was taller than its JFrame would be shown & crash
  65.   when it's hidden. (Since 1.5b1) (Part of MW08510)
  66.   
  67. * Fix a bug where MRJ wasn't told that a java window had been moved by
  68.   the user. This would be especially obvious when using Swing menus.
  69.   (Since 1.5b1) (Part of MW08510)
  70.   
  71. * Clean up the MRJ JManager 2.0 JNI code again. Thanks to Pedro Larios.
  72.   (Since 1.5b6) (MW08640)
  73.  
  74. * The console window won't always come to the front when text is written
  75.   to it. It also won't show up for the first time in front of a java
  76.   virtual machine window.
  77.   
  78. 1.5b6:
  79.  
  80. * Fix memory leak when running java applications with MRJ. A JNI global
  81.   reference to the main() arguments was being 'lost'. (Since 1.5b1)
  82.  
  83. * Fix a bug in the Class Path window where the Remove button would
  84.   always be disabled after being clicked. (MW07602)
  85.  
  86. 1.5b5:
  87.   
  88. * Fix bug where the cursor wasn't always at the end of the text in the
  89.   console window.
  90.   
  91. 1.5b4:
  92.  
  93. * The console window now uses the WASTE text engine. This means it can
  94.   hold more text. The console window now also draws more clearly.
  95.   
  96. * System.in works from the MW Java Console window now if MRJ 2.1 or the
  97.   MW JVM is being used. See below for a note about MRJ 2.0.
  98.   
  99. * Fix a bug where the MRJ JVM would always be reloaded regardless of the
  100.   preference setting. (Since 1.5b1)
  101.  
  102. * If the System.exit() quits MW Java preference is changed when the MRJ
  103.   JVM is selected, the JVM no longer needs to be reloaded for the change
  104.   to take effect.
  105.   
  106. * Fix some MacOS Finder icon stuff. (since 1.5b1)
  107.  
  108. 1.5b3:
  109.  
  110. 1.5b2:
  111.  
  112. * The JVM now only loads once it's needed! Also the JVM loading code is
  113.   smarter, so MW Java won't idle & do nothing when a JVM wanted is
  114.   missing. (since 1.2.1) (MW07139)
  115.  
  116. * Fix a sometimes crasher when attempting to display the 'Loading
  117.   JVM...' dialog box.
  118.  
  119. 1.5b1:
  120.  
  121. * Removed Mercutio code & resources since it was unused. (since 1.2.1)
  122.  
  123. * Fix the password field in the Authentication Dialog box. (since 1.2.1)
  124.  
  125. * When quitting with open windows in different positions than their
  126.   saved positions, the positions are now saved. (since 1.2.1)
  127.   
  128. * Greatly reduced the executable size. (since 1.2.1)
  129.  
  130. * MRJ's JDKClasses.zip has sun.applet.AppletViewer. So this is now
  131.   enabled for MRJ in the preferences dialog. (since 1.2.1) (MW07228,
  132.   MW07262)
  133.   
  134. 1.5a1:
  135.  
  136. * If the Metrowerks JVM wasn't in the same folder as Metrowerks Java,
  137.   CFM would look in the System folder, and MS JVM would be identified as
  138.   MW JVM, due to MS JVM's & MW JVM's common ancestry. Metrowerks Java 
  139.   will now _absolutely_ look for MW JVM in the same folder as itself.
  140.   (since 1.2.1)
  141.   
  142. * 'Compile' is no longer enabled for Apple MRJ JVM. (since 1.2.1)
  143.  
  144. * The zoom button for MW JVM windows now does something. (since 1.2.1)
  145.  
  146. * Arguments are now passed to MRJ without crashing the JVM. (MW05872,
  147.   MW05900)
  148.   
  149. * MRJ is now found using CFM routines. This way different versions of
  150.   MRJ can be used & tested. CFM attempts to find dll's in the same 
  151.   directory as the executable first, then looks in the System folder.
  152.   (since 1.2.1)
  153.   
  154. * Passes key release events to MRJ (but not to MW JVM). (since 1.2.1)
  155.  
  156. * Fully qualified main class names are acceptable if '.' delimited or
  157.   '/' delimited.
  158.   
  159. * Fixed bug where the open button in the Working Directory selection
  160.   dialog from the Application Window didn't do anything. This bug was
  161.   also in the Add Classpath dialog. (MW06983)
  162.   
  163. * Fixed bug where the working directory setting wasn't being passed to
  164.   MRJ.
  165.   
  166. * Fixed modal dialogs with MRJ 2.0 in MW Java.
  167.  
  168. * MW Java now passes the use Internet Config preference to MRJ 2.0.
  169.  
  170. * Fix a bug where the Verify Mode preference wasn't being passed to the
  171.   MW JVM.
  172.  
  173.   
  174. ========================================================================
  175. Known Bugs and Incompatibilities
  176. ========================================================================
  177.  
  178. * MRJ 2.0 cannot run the Trivial Applet stationery on 68K. Neither can
  179.   the Applet Applet Runner on 68K. The PPC hosted versions of the
  180.   applications can, so it seems to be a 68K bug with MRJ 2.0.
  181.   
  182. * MRJ 2.0 & MRJ 2.1ea1 have some problems when quitting MW Java in rare
  183.   circumstances, but it is fixed in MRJ 2.1ea2. (Part of MW08510)
  184.  
  185. * Right now, System.in doesn't work with MW Java's Console window if the
  186.   JVM selected is MRJ 2.0. Hopefully this will be fixed soon. Please run
  187.   com.mw.SystemInput before any java application that requires System.in
  188.   when using MRJ 2.0. It is present in the classes.zip used by the MW
  189.   JVM. MW JVM's classes.zip could be added to the class path so
  190.   SystemInput could be found. Or you can take it out of MW JVM's
  191.   classes.zip with Class Wrangler. Or, you could compile it into your
  192.   output. MRJ 2.1 fixes this problem.
  193.   
  194. * The Metrowerks AppletViewer may get stuck in a loop when exiting.
  195.   Using the Sun appletviewer will alleviate the problem. This is with
  196.   the MW JVM.
  197.    
  198. * Applets launched using the applet viewer window don't have menus for
  199.   starting, stopping, suspending and killing applets. This is with the
  200.   MW JVM.
  201.    
  202.   As a workaround, we have included Sun's 1.1 applet viewer, which you
  203.   can use by so setting the preference option.
  204.  
  205. * If Apple MRJ is the selected JVM, you cannot use javap (disassembler),
  206.   javah (Native Interface), javai (Interpreter), or javac (compiler).
  207.   Hopefully, MW will work around this in the future.
  208.   
  209. * If an html file has an extension that is not ".html" / ".htm", it
  210.   will not be recognized as such. It must have a .htm / .html (or any
  211.   combo of caps and lowercase).  If a java source file has an extension
  212.   that is not ".java" / ".jav", it will also not be recognized as such.
  213.  
  214. * Either MRJ or the Metrowerks JVM may crash MW Java if their respective
  215.   class libraries are not found in their proper places.
  216.  
  217. * Network Access settings changes won't occur in the MW JVM until the 
  218.   JVM has been reloaded. This is a JVM 'feature'.
  219.   
  220. * Setting the FTP Proxy, File System Access, & Restricting Class
  221.   Definitions were enabled for the MW JVM in previous releases of MW Java,
  222.   but they were never passed to the MW JVM, since it doesn't support
  223.   these. The preferences dialog now reflects this by disabling/enabling
  224.   items that apply to each JVM.
  225.   
  226. * The preferences are not updated from previous versions, except for 
  227.   saving the window positions. This will not occur again should the
  228.   preferences format be updated in the future.
  229.  
  230. * The "System.exit() throws exception" preference isn't used in the
  231.   Interpreter window. This is based upon the assumption that if the user
  232.   wants a low level interface like the Interpreter window, they will
  233.   know how to use all the command line switches & what they mean.
  234.   
  235. * If the MW JVM doesn't throw a exception when System.exit() is called,
  236.   it calls ExitToShell, rather than sending the host application a quit
  237.   AppleEvent in the version on CWPro3. For this reason, prefs aren't
  238.   properly saved if they have been changed before System.exit() is 
  239.   called from a java application running in the MW JVM, & this
  240.   preference is set to false (don't throw exception).
  241.   
  242.   
  243. ========================================================================
  244. Additional Notes
  245. ========================================================================
  246.  
  247. *  To use this version of Metrowerks Java, the files Metrowerks Java
  248.    JVM, and the Classes and Lib folder must reside in the same folder as 
  249.    Metrowerks Java. Or, MRJ must be properly installed. If you'd like to
  250.    use a newer version of MRJ & keep around an old one, place an alias
  251.    to "MRJLib" next to Metrowerks Java. It will find and load the MRJ in
  252.    the application's folder before any installed in the Extensions
  253.    folder.
  254.  
  255. *  The new .cab support in the MW appletviewer (only in the MW JVM) now
  256.    creates a folder called "Retrieved Files" in the same folder as the
  257.    application. This folder is used to store temporary files for the cab
  258.    decompression engine.
  259.  
  260.  
  261. ========================================================================
  262. Contacting Metrowerks
  263. ========================================================================
  264.  
  265. For bug reports, technical questions, and suggestions, please use the
  266. forms in the Release Notes folder on the CD, and send them to
  267.  
  268. support@metrowerks.com
  269.  
  270. See the CodeWarrior on the Nets document in the Release Notes folder for
  271. more contact information, including a list of Internet newsgroups, 
  272. online services, and patch and update sites.
  273.  
  274.  
  275. ========================================================================
  276.  
  277. Greg Bolsinga
  278. Metrowerks Corporation
  279.